package grape.workflow.rest.comment.form;

import grape.common.rest.form.BasePageForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.flowable.engine.impl.persistence.entity.CommentEntity;
import org.flowable.engine.task.Event;

/**
 *
 * Created by yangwei
 * Created at 2020/6/16 18:28
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel(value="我的待/已办列表查询表单对象")
public class CommentListPageForm extends BasePageForm {

    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "实例id")
    private String processInstanceId;

    /**
     * @see CommentEntity
     */
    @ApiModelProperty(value = "类型",notes = "comment event")
    private String type;

    /**
     * @see Event
     */
    @ApiModelProperty(value = "动作类型",notes = "AddComment")
    private String action;
}
